package repository;

import java.util.List;

import javax.ejb.Local;

import model.Candidate;
import model.Comment;
import repository.exceptions.RepositoryException;

@Local
public interface CandidateRepository extends BaseRepository<Candidate, Long> {

	List<Comment> getCommentsForCandidate(Long id) throws RepositoryException;

	void addCommentToCandidate(Long id, Comment c) throws RepositoryException;

	Candidate getCandidateByName(String string) throws RepositoryException;

}
